cmake_minimum_required(VERSION 3.21)
project(zlogger)

set(CMAKE_CXX_STANDARD 14)
message(status ${PROJECT_NAME})
add_subdirectory(thirdparty/libP7Client)
add_library(${PROJECT_NAME}
  SHARED src/asynctimer.cpp)
target_include_directories(${PROJECT_NAME}
  PUBLIC ./inclucde
  PUBLIC ${PATH_P7_API})
target_link_directories(${PROJECT_NAME}
  PUBLIC p7)
add_executable(${PROJECT_NAME}_example example/example.cpp)
target_link_libraries(${PROJECT_NAME}_example
  PUBLIC ${PROJECT_NAME}
  PUBLIC p7)